Skip to content

Add AWS Comprehend PII redaction utility#561

Open
nguyenduchuyhd wants to merge 7 commits into
arakoodev:tsfrom
nguyenduchuyhd:ts
Open

Add AWS Comprehend PII redaction utility#561
nguyenduchuyhd wants to merge 7 commits into
arakoodev:tsfrom
nguyenduchuyhd:ts

Conversation

@nguyenduchuyhd
Copy link
Copy Markdown

/claim #290

Summary:

  • Add AwsComprehendRedactor to the JS AI package using AWS Comprehend DetectPiiEntities.
  • Redact plain text, prompt inputs, and chat message arrays before passing them to existing endpoint classes.
  • Export the utility from @arakoodev/edgechains.js/ai, add a usage example, and cover masking/filtering behavior with tests.

Verification:

  • npx vitest run src/ai/src/tests/awsComprehendRedactor.test.ts
  • npx tsc -b

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 27, 2026

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@nguyenduchuyhd
Copy link
Copy Markdown
Author

I have read the Arakoo CLA Document and I hereby sign the CLA

@nguyenduchuyhd
Copy link
Copy Markdown
Author

recheck

@nguyenduchuyhd
Copy link
Copy Markdown
Author

CLA and PR build checks are now green after the re-run. Ready for maintainer review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant